import { defineUserConfig } from 'vuepress'
import type { DefaultThemeOptions } from 'vuepress'

export default defineUserConfig<DefaultThemeOptions>({
  lang: 'zh-CN',base:'/hack/',
  title: 'title',
  description: 'd title',
  head: [['link', {rel: 'icon', href: '/images/logo.png'}]],
  theme2: 'vuepress-theme-local',
  themeConfig: {
    logo: 'https://vuejs.org/images/logo.png',
    repo: 'https://github.com/zengfr/romhack',
    repoLabel: 'GitHub',lastUpdated: "Last Updated",
    docsDir: "docs",
    displayAllHeaders: true, // 默认值：false,显示所有页面的标题链接
        sidebarDepth: 2,
        editLink: false,
		
    navbar: [// 导航栏配置
        {
            text: '主页',
            link: '/', exact: true
        },
        {
            text: '博客2',
            link: '/dino', exact: true
        },
        {
            text: '博客',
            link: '/a', exact: true
        }],
      sidebar: [{
        text: 'dino',
        link: '/dino/', exact: true,
        children: [
          {
            text: 'github',
            link: 'https://github.com',
          },
        ],},
		'/',
		],
  
  },plugins: [
     
  ],
})